Cleanup and use BEMAN_HAS_MODULES in code#206
Merged
dietmarkuehl merged 2 commits intobemanproject:mk-modulefrom Jan 30, 2026
Merged
Cleanup and use BEMAN_HAS_MODULES in code#206dietmarkuehl merged 2 commits intobemanproject:mk-modulefrom
dietmarkuehl merged 2 commits intobemanproject:mk-modulefrom
Conversation
Collaborator
Author
|
@dietmarkuehl but some tests fails to build with only this tests fail to compile: |
ClausKlein
commented
Jan 30, 2026
CMakeLists.txt
Outdated
| ${CMAKE_CURRENT_BINARY_DIR}/beman/execution/modules_export.hpp | ||
| ) | ||
| target_compile_definitions(beman_execution PUBLIC BEMAN_USE_MODULES) | ||
| target_compile_definitions(beman_execution PUBLIC BEMAN_HAS_MODULES) |
Collaborator
Author
There was a problem hiding this comment.
@dietmarkuehl I may comment this out for now?
Member
There was a problem hiding this comment.
I'll merge the PR onto the branch about nowish. ... and I can comment that line out if that is all what's needed. On the other hand, I want to make sure I test module building when meddling with the script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Create and install an interface libray and the
CXX_MODULEif possibleAvailable CMake options:
Exported CMake targets:
Installed CMAKE config package:
bash-5.3$ cpack CPack: Create package using TGZ CPack: Install projects CPack: - Install project: beman_execution [] CPack: Create package CPack: - package: gcc-release/beman_execution-0.0.1-Darwin.tar.gz generated. bash-5.3$ tree _CPack_Packages/Darwin/TGZ/beman_execution-0.0.1-Darwin/lib/cmake/ _CPack_Packages/Darwin/TGZ/beman_execution-0.0.1-Darwin/lib/cmake/ └── beman_execution ├── beman_execution-config-targets-relwithdebinfo.cmake ├── beman_execution-config-targets.cmake ├── beman_execution-config-version.cmake ├── beman_execution-config.cmake ├── cxx-modules-beman_execution-config-targets-RelWithDebInfo.cmake ├── cxx-modules-beman_execution-config-targets.cmake ├── module │ └── execution.cppm └── target-beman__execution-RelWithDebInfo.cmake 3 directories, 8 files bash-5.3$